﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace RepositorySystem.Models.WorkFlow_InstanceViewModel
{

    public class AddWorkFlow_InstanceViewModels
    {
        /// <summary>
        /// 工作流模板Id
        /// </summary>
        public string ModelId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public InstanceStepStatus Status { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 申请理由
        /// </summary>
        public string Reason { get; set; }


        /// <summary>
        /// 添加人Id
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutNum { get; set; }

        /// <summary>
        /// 出库物资Id
        /// </summary>
        public string OutGoodsId { get; set; }

        public enum InstanceStepStatus
        {
            审核中 = 1,
            同意 = 2,
            驳回 = 3,
            作废 = 4,
            已审批 = 5,
        }
    }
}
